<div id="search">
<% form_remote_tag :url => { :controller => :user, :action => :user_search } do -%>
<fieldset>
	<legend>Search</legend>
	<dl>
		<dt><label for="query"><%= 'Search bio, fandoms:'.t -%></label></dt>
			<dd><%= text_field_tag "query", params[:query] -%></dd>
		<dt><label for="skills"><%= 'Skills'.t -%></label></dt>
			<dd><%= render :partial => '/skill/edit', :locals => { :skilled => nil } -%></dd>
		<dt><label for="searchtype"><%= 'Match'.t -%></label>
		<%= select_tag "match_type", options_for_select(%w{ all any }) -%></dt>
		<dt><label for="status">Return inactive volunteers</label>
		<%= check_box_tag "inactive", "1" -%> Yes</dt>
		<dt></dt>
			<dd><%= submit_tag 'Search' -%></dd>
	</dl>
</fieldset>
<% end -%>
</div>
